package net.siren93.smh.service;

import net.siren93.smh.entity.ProjectEntity;

import java.util.List;

/**
 * Created by siren93 on 15/10/7.
 */
public interface ProjectService {
    ProjectEntity findByName(String name);
    ProjectEntity findById(int id);
    List<ProjectEntity> findByManager(int id, int page, int rows);
    void saveOrUpdate(ProjectEntity entity);
    Integer save(ProjectEntity entity);
    List<ProjectEntity> listProject();
    void delById(int id);
}
